package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastAgentbusiness implements Serializable {
    private Integer id;

    private String areas;

    private Date createtime;

    private String mobile;

    private String name;

    private Integer agentid;

    private String agentname;

    private String cityid;

    private String cityname;

    private String countyid;

    private String countyname;

    private BigDecimal coefficient;

    private String code;

    private String area;

    private String areaid;

    private BigDecimal coefficient2;

    private String managercode;

    private Integer managerid;

    private String province;

    private String provinceid;

    private Integer aid;

    private Integer cid;

    private String managername;

    private Integer pid;

    private Integer tid;

    private Integer ishaveup;

    private String showareas;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastAgentbusiness withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAreas() {
        return areas;
    }

    public RunfastAgentbusiness withAreas(String areas) {
        this.setAreas(areas);
        return this;
    }

    public void setAreas(String areas) {
        this.areas = areas == null ? null : areas.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastAgentbusiness withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastAgentbusiness withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastAgentbusiness withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastAgentbusiness withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastAgentbusiness withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public String getCityid() {
        return cityid;
    }

    public RunfastAgentbusiness withCityid(String cityid) {
        this.setCityid(cityid);
        return this;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid == null ? null : cityid.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public RunfastAgentbusiness withCityname(String cityname) {
        this.setCityname(cityname);
        return this;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public String getCountyid() {
        return countyid;
    }

    public RunfastAgentbusiness withCountyid(String countyid) {
        this.setCountyid(countyid);
        return this;
    }

    public void setCountyid(String countyid) {
        this.countyid = countyid == null ? null : countyid.trim();
    }

    public String getCountyname() {
        return countyname;
    }

    public RunfastAgentbusiness withCountyname(String countyname) {
        this.setCountyname(countyname);
        return this;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname == null ? null : countyname.trim();
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastAgentbusiness withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    public String getCode() {
        return code;
    }

    public RunfastAgentbusiness withCode(String code) {
        this.setCode(code);
        return this;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getArea() {
        return area;
    }

    public RunfastAgentbusiness withArea(String area) {
        this.setArea(area);
        return this;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getAreaid() {
        return areaid;
    }

    public RunfastAgentbusiness withAreaid(String areaid) {
        this.setAreaid(areaid);
        return this;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid == null ? null : areaid.trim();
    }

    public BigDecimal getCoefficient2() {
        return coefficient2;
    }

    public RunfastAgentbusiness withCoefficient2(BigDecimal coefficient2) {
        this.setCoefficient2(coefficient2);
        return this;
    }

    public void setCoefficient2(BigDecimal coefficient2) {
        this.coefficient2 = coefficient2;
    }

    public String getManagercode() {
        return managercode;
    }

    public RunfastAgentbusiness withManagercode(String managercode) {
        this.setManagercode(managercode);
        return this;
    }

    public void setManagercode(String managercode) {
        this.managercode = managercode == null ? null : managercode.trim();
    }

    public Integer getManagerid() {
        return managerid;
    }

    public RunfastAgentbusiness withManagerid(Integer managerid) {
        this.setManagerid(managerid);
        return this;
    }

    public void setManagerid(Integer managerid) {
        this.managerid = managerid;
    }

    public String getProvince() {
        return province;
    }

    public RunfastAgentbusiness withProvince(String province) {
        this.setProvince(province);
        return this;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getProvinceid() {
        return provinceid;
    }

    public RunfastAgentbusiness withProvinceid(String provinceid) {
        this.setProvinceid(provinceid);
        return this;
    }

    public void setProvinceid(String provinceid) {
        this.provinceid = provinceid == null ? null : provinceid.trim();
    }

    public Integer getAid() {
        return aid;
    }

    public RunfastAgentbusiness withAid(Integer aid) {
        this.setAid(aid);
        return this;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastAgentbusiness withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getManagername() {
        return managername;
    }

    public RunfastAgentbusiness withManagername(String managername) {
        this.setManagername(managername);
        return this;
    }

    public void setManagername(String managername) {
        this.managername = managername == null ? null : managername.trim();
    }

    public Integer getPid() {
        return pid;
    }

    public RunfastAgentbusiness withPid(Integer pid) {
        this.setPid(pid);
        return this;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getTid() {
        return tid;
    }

    public RunfastAgentbusiness withTid(Integer tid) {
        this.setTid(tid);
        return this;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getIshaveup() {
        return ishaveup;
    }

    public RunfastAgentbusiness withIshaveup(Integer ishaveup) {
        this.setIshaveup(ishaveup);
        return this;
    }

    public void setIshaveup(Integer ishaveup) {
        this.ishaveup = ishaveup;
    }

    public String getShowareas() {
        return showareas;
    }

    public RunfastAgentbusiness withShowareas(String showareas) {
        this.setShowareas(showareas);
        return this;
    }

    public void setShowareas(String showareas) {
        this.showareas = showareas == null ? null : showareas.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", areas=").append(areas);
        sb.append(", createtime=").append(createtime);
        sb.append(", mobile=").append(mobile);
        sb.append(", name=").append(name);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", cityid=").append(cityid);
        sb.append(", cityname=").append(cityname);
        sb.append(", countyid=").append(countyid);
        sb.append(", countyname=").append(countyname);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", code=").append(code);
        sb.append(", area=").append(area);
        sb.append(", areaid=").append(areaid);
        sb.append(", coefficient2=").append(coefficient2);
        sb.append(", managercode=").append(managercode);
        sb.append(", managerid=").append(managerid);
        sb.append(", province=").append(province);
        sb.append(", provinceid=").append(provinceid);
        sb.append(", aid=").append(aid);
        sb.append(", cid=").append(cid);
        sb.append(", managername=").append(managername);
        sb.append(", pid=").append(pid);
        sb.append(", tid=").append(tid);
        sb.append(", ishaveup=").append(ishaveup);
        sb.append(", showareas=").append(showareas);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}